home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / u_man / cat6 / unixfont.z / unixfont
Encoding:
Text File  |  2002-10-03  |  12.5 KB  |  265 lines

  1.  
  2.  
  3.  
  4. UUUUNNNNIIIIXXXXFFFFOOOONNNNTTTT((((6666DDDD))))                                                      UUUUNNNNIIIIXXXXFFFFOOOONNNNTTTT((((6666DDDD))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      unixfont - Convert Macintosh and IBM PC POSTSCRIPT outline fonts into
  10.      Unix format.
  11.  
  12. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.      uuuunnnniiiixxxxffffoooonnnntttt [ ----dddd _s_c_s_i_d_e_v_i_c_e ] [ ----oooo _o_u_t_p_u_t_f_i_l_e ]
  14.           [ [ ----aaaa _f_o_n_t_n_a_m_e ] [ ----ffff _f_o_n_t_n_a_m_e ] [ ----llll _t_y_p_e_n_a_m_e ] [ ----tttt _t_e_x_t_f_i_l_e ]
  15.           [ ----AAAA _d_o_s_a_s_c_i_i_f_i_l_e ] [ ----BBBB _d_o_s_b_i_n_a_r_y_f_i_l_e ]
  16.           [ ----FFFF _d_o_s_f_o_n_t_f_i_l_e ] [ ----LLLL ]
  17.           [ ----iiii _i_b_m_f_i_l_e ] [ ----mmmm _m_a_c_f_i_l_e ] ] [ ----vvvv ] [ _f_i_l_e_n_a_m_e ... ]
  18.  
  19. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  20.      uuuunnnniiiixxxxffffoooonnnntttt converts POSTSCRIPT typeface programs (printer fonts) from the
  21.      special-format files used in Adobe's Apple Macintosh and IBM PC font
  22.      packages into the format required by Adobe's Unix-based software
  23.      (POSTSCRIPT interpreters and the TranScript product).  The typeface must
  24.      be licensed for use with the POSTSCRIPT interpreter to which it is to be
  25.      made available from the Unix system.  uuuunnnniiiixxxxffffoooonnnntttt can also extract typeface
  26.      programs and Adobe Font Metric (AFM) files from Macintosh and DOS
  27.      filesystems available to Unix as SCSI disk devices.  The Adobe Font Folio
  28.      CD-ROM for the Macintosh and 3.5" diskettes in either Apple HFS or DOS
  29.      format may be used in this way, for example.
  30.  
  31.      If the input file contains a TrueType font instead of a PostScript font,
  32.      the output will be a PostScript Type 42 font and not a conversion of the
  33.      TrueType font to Type 1 or Type 3.  Therefore the PostScript interpreter
  34.      must include a full TrueType rasterizer for the resulting font file to be
  35.      usable.
  36.  
  37.      A series of operations may be specified on the command-line with the
  38.      converted files being written to the current output file.  A new output
  39.      file may be specified before each operation.  The files from successive
  40.      operations will be concatenated on the output file if no new output file
  41.      is specified between them.
  42.  
  43.      Files specified at the end of the command-line are examined to determine
  44.      whether they are in Macintosh or IBM PC format and the appropriate
  45.      conversion is applied.  If more than one file is specified at the end of
  46.      the command-line, the output will be concatenated on the current output
  47.      file.
  48.  
  49.      Consult the documentation for your Adobe POSTSCRIPT software for
  50.      instructions on how to complete the installation of the converted font
  51.      files.
  52.  
  53. OOOOPPPPTTTTIIIIOOOONNNNSSSS
  54.      ----aaaa _f_o_n_t_n_a_m_e
  55.           Copy the Adobe Font Metric (AFM) file for the specified font from
  56.           the Macintosh filesystem (HFS) to the output file.  Either the
  57.           POSTSCRIPT font name or the Macintosh font file name may be
  58.           specified.  (i.e. StoneInformal-Italic is equivalent to
  59.           StoneInfIta.)  The default HFS is the local CD-ROM reader.
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. UUUUNNNNIIIIXXXXFFFFOOOONNNNTTTT((((6666DDDD))))                                                      UUUUNNNNIIIIXXXXFFFFOOOONNNNTTTT((((6666DDDD))))
  71.  
  72.  
  73.  
  74.      ----dddd _s_c_s_i_d_e_v_i_c_e
  75.           Use the specified SCSI block device to access a Macintosh
  76.           Hierarchical File System (HFS) or a DOS file system, depending on
  77.           subsequent command line options.  The device may contain the Adobe
  78.           Font Folio CD-ROM for the Macintosh or the printer font disk from a
  79.           Macintosh or IBM PC font package, for example.  Consult your system
  80.           documentation for the correct name of the SCSI device for the CD-ROM
  81.           or diskette drive to be used.  Note that a Sun SPARCstation will
  82.           only accept high density diskettes so the files from a Macintosh
  83.           printer font disk would need to be copied to a high density diskette
  84.           before they could be read on the workstation.
  85.  
  86.      ----ffff _f_o_n_t_n_a_m_e
  87.           Convert the Macintosh-format printer font for the specified
  88.           POSTSCRIPT font on the Font Folio and copy it to the output file.
  89.           Either the POSTSCRIPT font name or the Macintosh font file name may
  90.           be specified (see above).
  91.  
  92.      ----iiii _i_b_m_f_i_l_e
  93.           Convert the IBM PC printer font from the specified file and copy it
  94.           to the output file.  Use Binary format to transfer the font file to
  95.           the Unix system from the printer font disk supplied in the Adobe
  96.           font package.
  97.  
  98.      ----llll _t_y_p_e_n_a_m_e
  99.           List files on the Font Folio which have the specified Macintosh file
  100.           type.  The file type is specified as a string of up to four
  101.           characters.  Although the formal Macintosh file type is a 32-bit
  102.           integer, most file types have been chosen to be readable as four
  103.           ASCII characters.  Ordinary text files have type "TEXT" and typeface
  104.           programs have type "LWFN".  The null string ("") may be specified to
  105.           list all files (but not directories) on the Font Folio.  Consult the
  106.           Apple Macintosh technical documentation for further information on
  107.           file types.
  108.  
  109.      ----mmmm _m_a_c_f_i_l_e
  110.           Convert a Macintosh printer font from the specified file and copy it
  111.           to the output file.  Use MacBinary format to transfer the font file
  112.           to the Unix system from the Printer Fonts folder on the disk
  113.           supplied in the font package.
  114.  
  115.      ----oooo _o_u_t_p_u_t_f_i_l_e
  116.           Copy subsequently converted files and other output to the specified
  117.           file.  This option may be repeated between the other conversion and
  118.           list options to direct the results of different operations to
  119.           separate files.  Output is directed to _s_t_d_o_u_t by default.
  120.  
  121.      ----tttt _f_i_l_e_n_a_m_e
  122.           Copy the specified file of type "TEXT" from the Macintosh filesystem
  123.           (HFS) to the output file. Note that no directory or folder can be
  124.           specified in the filename.  The default HFS is the local CD-ROM
  125.           reader.
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136. UUUUNNNNIIIIXXXXFFFFOOOONNNNTTTT((((6666DDDD))))                                                      UUUUNNNNIIIIXXXXFFFFOOOONNNNTTTT((((6666DDDD))))
  137.  
  138.  
  139.  
  140.      ----AAAA _d_o_s_a_s_c_i_i_f_i_l_e
  141.           Copy the specified ASCII file from the DOS file system on the
  142.           specified SCSI device to the output file, converting <cr><lf> line
  143.           ending sequences to just <lf>.  The full path in the DOS file system
  144.           must be specified.
  145.  
  146.      ----BBBB _d_o_s_b_i_n_a_r_y_f_i_l_e
  147.           Copy the specified file verbatim from the DOS file system on the
  148.           specified SCSI device to the output file.  The full path in the DOS
  149.           file system must be specified.
  150.  
  151.      ----FFFF _d_o_s_f_o_n_t_f_i_l_e
  152.           Convert an IBM PC printer font from the specified file in the DOS
  153.           file system on the specified SCSI device and copy it to the output
  154.           file. The actual filename is required because there is no
  155.           algorithmic mapping between POSTSCRIPT font names and DOS filenames.
  156.           (For the time being, the full path in the DOS file system must be
  157.           specified.)
  158.  
  159.      ----LLLL   List the contents of the DOS filesystem on the specified SCSI
  160.           device.
  161.  
  162.      ----vvvv   Print the uuuunnnniiiixxxxffffoooonnnntttt version number.
  163.  
  164. EEEEXXXXAAAAMMMMPPPPLLLLEEEE
  165.      The following three commands are equivalent:
  166.  
  167.      $ unixfont StoneInfIta.Bin > font.ps
  168.      $ unixfont -m StoneInfIta.Bin > font.ps
  169.      $ unixfont -o font.ps -m StoneInfIta.Bin
  170.  
  171.      The following command converts the IBM PC printer font file for
  172.      AvantGarde-DemiOblique:
  173.  
  174.      $ unixfont -o font.ps agdo____.pfb
  175.  
  176.      The following command extracts both the typeface program and the AFM file
  177.      for the StoneInformal-Italic font from the Font Folio:
  178.  
  179.      $ unixfont -o font.ps -f StoneInformal-Italic -o font.afm -a StoneInfIta
  180.  
  181.      The following command extracts the typeface program for AvantGarde-
  182.      DemiOblique from an IBM PC font package (DOS) diskette (the device
  183.      /dev/fd0 is a Sun SPARCstation floppy drive):
  184.  
  185.      $ unixfont -d /dev/fd0 -o font.ps -F fonts\agdo____.pfb
  186.  
  187. BBBBUUUUGGGGSSSS
  188.      Whenever an output file is specified, it is created regardless of the
  189.      success of the subsequent operation(s).  This may leave a zero length new
  190.      file or truncate an existing file to zero length.
  191.  
  192.  
  193.  
  194.  
  195.                                                                         PPPPaaaaggggeeee 3333
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202. UUUUNNNNIIIIXXXXFFFFOOOONNNNTTTT((((6666DDDD))))                                                      UUUUNNNNIIIIXXXXFFFFOOOONNNNTTTT((((6666DDDD))))
  203.  
  204.  
  205.  
  206.      The Macintosh directory structure on the Font Folio is currently ignored
  207.      (for program simplicity) and the B*-tree leaves are searched
  208.      sequentially.  This means (a) that a file is assumed to be effectively
  209.      unique (i.e. duplicate names are implicitly copies) and (b) file
  210.      retrieval can be slow on slow filesystems because of the linear filename
  211.      search.  However, accesses to the Font Folio are expected to be
  212.      infrequent because typeface programs will need to be copied to the hard
  213.      disk for more efficient use in any case.
  214.  
  215.      All errors terminate the program.
  216.  
  217.      uuuunnnniiiixxxxffffoooonnnntttt currently cannot automatically identify PC format TrueType files
  218.      stored in the Unix filesystem. (Use the ----iiii command line option to force
  219.      uuuunnnniiiixxxxffffoooonnnntttt to treat the input file as a PC format font and it will
  220.      determine automatically that it is a TrueType font instead of a Type 1
  221.      font.) The ----FFFF option will work to read a TrueType font from a DOS
  222.      filesystem diskette.
  223.  
  224. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  225.      _P_O_S_T_S_C_R_I_P_T _L_a_n_g_u_a_g_e _R_e_f_e_r_e_n_c_e _M_a_n_u_a_l and _P_O_S_T_S_C_R_I_P_T _L_a_n_g_u_a_g_e _S_u_p_p_l_e_m_e_n_t
  226.      for your Adobe POSTSCRIPT interpreter.
  227.  
  228. AAAAUUUUTTTTHHHHOOOORRRR
  229.      Adobe Systems Incorporated
  230.  
  231. NNNNOOOOTTTTEEEESSSS
  232.      Typeface programs are licensed for use with individual POSTSCRIPT
  233.      interpreters either in a printer or on a workstation.  To use a typeface
  234.      program with multiple POSTSCRIPT interpreters, a _m_u_l_t_i_p_l_e-_p_r_i_n_t_e_r _l_i_c_e_n_s_e
  235.      is required.  The uuuunnnniiiixxxxffffoooonnnntttt program must be used exclusively to convert a
  236.      licensed typeface program which is not directly available in Unix format
  237.      into that format from the presently available Adobe typeface packages.
  238.      The program must not be used to duplicate typeface programs for multiple
  239.      uses in the absence of the appropriate license.
  240.  
  241.      POSTSCRIPT is a trademark of Adobe Systems Incorporated registered in
  242.      certain jurisdictions.  Font Folio and TranScript are trademarks of Adobe
  243.      Systems Incorporated.  Macintosh is a registered trademark of Apple
  244.      Computer Incorporated.  IBM is a registered trademark of International
  245.      Business Machines Incorporated.
  246.  
  247.      Copyright (c) 1989-1991, 1994 Adobe Systems Incorporated.  All rights
  248.      reserved.
  249.  
  250.  
  251.  
  252.  
  253.  
  254.  
  255.  
  256.  
  257.  
  258.  
  259.  
  260.  
  261.                                                                         PPPPaaaaggggeeee 4444
  262.  
  263.  
  264.  
  265.